package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-09-26
 */
@TableName("GENSHANGUSERLIST")
public class Genshanguserlist extends Model<Genshanguserlist> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RECORD_ID", type = IdType.AUTO)
    private Long recordId;

    @TableField("USERUID")
    private String useruid;

    @TableField("ID")
    private String id;

    @TableField("NUMBER")
    private String number;

    @TableField("CREATETIME")
    private Long createtime;

    @TableField("MODIFYTIME")
    private Long modifytime;

    @TableField("AVATARURL")
    private String avatarurl;

    @TableField("NICKNAME")
    private String nickname;

    @TableField("REALNAME")
    private String realname;

    @TableField("GENDER")
    private String gender;

    @TableField("PASSWORD")
    private String password;

    @TableField("PHONE")
    private String phone;

    @TableField("SHOPUID")
    private String shopuid;

    @TableField("SHOPNAME")
    private String shopname;

    @TableField("STATE")
    private String state;

    @TableField("ROLENAMELIST")
    private String rolenamelist;

    @TableField("ADMINORNOT")
    private String adminornot;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getUseruid() {
        return useruid;
    }

    public void setUseruid(String useruid) {
        this.useruid = useruid;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    public Long getModifytime() {
        return modifytime;
    }

    public void setModifytime(Long modifytime) {
        this.modifytime = modifytime;
    }
    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getShopuid() {
        return shopuid;
    }

    public void setShopuid(String shopuid) {
        this.shopuid = shopuid;
    }
    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getRolenamelist() {
        return rolenamelist;
    }

    public void setRolenamelist(String rolenamelist) {
        this.rolenamelist = rolenamelist;
    }
    public String getAdminornot() {
        return adminornot;
    }

    public void setAdminornot(String adminornot) {
        this.adminornot = adminornot;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "Genshanguserlist{" +
            "recordId=" + recordId +
            ", useruid=" + useruid +
            ", id=" + id +
            ", number=" + number +
            ", createtime=" + createtime +
            ", modifytime=" + modifytime +
            ", avatarurl=" + avatarurl +
            ", nickname=" + nickname +
            ", realname=" + realname +
            ", gender=" + gender +
            ", password=" + password +
            ", phone=" + phone +
            ", shopuid=" + shopuid +
            ", shopname=" + shopname +
            ", state=" + state +
            ", rolenamelist=" + rolenamelist +
            ", adminornot=" + adminornot +
        "}";
    }
}
